package com.js.jetpackdemo.worker

import android.content.Context
import android.util.Log
import androidx.work.Worker
import androidx.work.WorkerParameters


// Created by JS on 2021/5/28.

class SimpleWorker(context: Context, params: WorkerParameters): Worker(context, params) {

    companion object {
        private const val TAG = "SimpleWorker"
    }

    override fun doWork(): Result {
        Log.d(TAG, "do work in SimpleWorker")
        return Result.success()
    }
}